<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>16$冲突</title>
    <script src="../test.js"></script>
    <script src="../jquery-3.2.1.js"></script>

</head>
<body>
    
    <script>
        console.log($);

        // jQ释放$的控制权
        var $$ = $.noConflict();
        console.log($); // 释放之后 $ 就给了别人

        $$(function(){
            // jq对象
        })

    </script>
</body>
</html>